package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 科目类型对象 financial_subject_type
 * 
 * @author ruoyi
 * @date 2025-02-21
 */
public class SubjectType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 科目类型名称 */
    @Excel(name = "科目类型名称")
    private String subjectTypeName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSubjectTypeName(String subjectTypeName) 
    {
        this.subjectTypeName = subjectTypeName;
    }

    public String getSubjectTypeName() 
    {
        return subjectTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("subjectTypeName", getSubjectTypeName())
            .toString();
    }
}
